/**
 * Copyright &copy; 2016-2017 <a href="http://git.oschina.net/whoamien/backend_management">Backend Management</a> All rights reserved.
 */
package com.xw.framework.base.web;

import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;
import org.springframework.data.domain.Sort.Direction;

/**
 * The Class CustomPageRequest.
 *
 * @author Xi Wei
 */
public class CustomPageRequest extends PageRequest {

	/**
	 * Instantiates a new CustomPageRequest.
	 *
	 * @param page the page
	 * @param size the size
	 */
	public CustomPageRequest(int page, int size) {
		super(page, size);
	}
	
	

	/**
	 * Instantiates a new CustomPageRequest.
	 *
	 * @param page the page
	 * @param size the size
	 * @param direction the direction
	 * @param properties the properties
	 */
	public CustomPageRequest(int page, int size, Direction direction, String... properties) {
		super(page, size, direction, properties);
	}



	/**
	 * Instantiates a new CustomPageRequest.
	 *
	 * @param page the page
	 * @param size the size
	 * @param sort the sort
	 */
	public CustomPageRequest(int page, int size, Sort sort) {
		super(page, size, sort);
	}


	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

}
